After you file

Yes, the bank will reject the deposit and send the refund back to the IRS.  The IRS will mail the refund check to the address on the tax return.