Vialto Partners Interview Question

How to determine residency status?