If you don't have any loans, you will just closed your bank accounts within 30 days after you file for leaving for good.
If have, you must to settle it first. (if you don't have a plan or no money for the settlement. Just take a normal vacation leave and never comes back. never mind for your separation pay)