But if you leave Panama, they will allow you to keep your account in Panama, they won't close your account just because you moved out of the country.
All banks want to have as many customers as possible.
I was just using my Panamanian bank account to pay for my expenses in Panama, but when I left I didn't need the account anymore.
You can open an account in Panama even if you don't live there, but keep in mind that Panama belongs to the CRS.