Jan 1 of what year - 2020 or 2021?
If she lived with you more than half of 2020, then only you could claim her unless you release her to the other parent with a 8332 form. If Jan of 2021 then 2020 is over with and you claim her in 2021.
If you or a dependent that you are entitled to claim has already been claimed by another taxpayer, your e-filed return will reject since the SSN has already been used (either intentionally or in error such as a mistyped SSN).
Your only recourse is to file a correct tax return, claiming what you are entitled to claim, then print and mail the return.
The IRS will process both returns and pay any refunds. Shortly (within a year) the IRS will mail letters to both taxpayers asking if their tax return was filed in error and suggesting that they amend if they improperly claimed.
If neither taxpayer amends, the IRS will send a second letter asking for each taxpayers proof that they are entitled to the claim.
The IRS will evaluate each taxpayers claim and award the credit to one taxpayer, the other will have to payback any refund received plus interest and possible penalties.
Do not ignore the letters or you will loose.