After you file

If her name wasn't on the account the bank should have rejected the deposit.   If the bank rejects your deposit the IRS will mail a check to the address on your return.