@nis11 wrote:
Technically my account is not closed it is deactivated right
You would need to contact the bank to see if there is a difference between deactivated and closed when receiving a direct deposit.
Furthermore, even if the account could receive direct deposits, if your name is not on the account the bank will reject the direct deposit from the IRS.