Yes. The deposit acts as a receipt to the IRS for receipt of the refund. If the return is a joint return, both spouse's names have to be present on the account.