how to resign from a country