Vialto Partners interview question

How to determine residency status?