Thanks for your response.
Yes this is what i was wondering about, because I would think that she is technically technically a visitor in Canada at this time (since she entered with a TRV), and as she is now applying for "Permanent Residence" in Canada, then would be a resident of Thailand...