1) Going to another country simply to resign is not the sanest action.
2) We really need a clear International consensu that governments do NOT have extra-territorial jurisdiction. Actions taken in one country should abide by the laws of that country, not any other country - even if it affects the other country. Any country that refuses to abide by this simple rule (I'm including my own beloved United States which routinely violates this simple legal concept.), should have punitive trade restrictions placed on them.
When I'm in New York state, I have to abide by NYS laws, not New Jerseys. Similarly, when I am in the US, I should abide by the US laws, not any other countries.
Sounds like a good idea, but how does that work when the internet is involved? Does Facebook count as everywhere? What about phone calls? Mail?
It's a tricky system to get right.