Hypotetical question (not for me).
The foreign person lives in Thailand, is married to Thai woman (Non-O marriage visa, one-year extensions), he is over 50, has over 800k THB on individual bank account for a long time. Let's assume they get divorced, can he immediatelly apply for retirement visa, without leaving the country? Or it's better to apply for retirement visa before, and then divorce?