After you file

Regardless of whether you amend or not,

the other parent can submit the return with the dependent, but it will have to be a paper return

filed by US Mail.

If there are two returns with that dependent IRS will contact one or both of you to resolve it.

@Sailorspoon94