" if you are already " .the day you apply yes you got to be where you apply but for example last summer i wait almost 3 months to get my non-b in Paris . Flight in and out for my work in different country and even Thailand . No problem . If they start to get longer in place like HCMC are you gonna stay 3 months there when for most who apply already have rent in Thailand ???
There is no written rules you got to stay anywhere you apply your visa . If you was on your home country , you apply for visa who can take 2 months to get and would you skip your hollidays for that ? You have to apply there yes . But find any document who tell you can't leave and come back . For interview they will not send you a meeting you have to go in the next 5 mn anyway