Other than actually doing it over and over... Research stuff, join groups like this, read the posts and comments, and re-research every 6 months or so, as things can change.
I just recently had my RBC account blocked because they couldn't tell. I was a resident when I went to university 30 years ago. Had the account ever since, as I travel to Canada often. I had to prove my residency was not canadian before they unblocked it.
I have a Canadian daughter, as well as good friends, so I was there often.