Depending on when you stop working and when you leave the US, we may not be able to issue your final paycheck and housing deposit and your bank receive it before you close the account. These processes take a few business days to process through the banks.
Additionally, in February or March of the following year you are required to file a US tax return and hopefully recieve a tax refund. It is easiest to receive these funds if you have a US Bank account.