Can i get my w-2 taxes back into another bank-account because my bank-account is closed due to inactivity?

I returned back to my country and my bank account is closed. I am trying to take my taxes back but I do not have access to the bank account. I only have my friends bank accounts active there.