The answer
A person must be a resident of Canada, meet the age rules and satisfy the FHSA first-time-home-buyer tests when opening the account. Citizenship or immigration status is not the same as CRA tax residency, and prior occupancy in a home owned by the person or spouse can matter even if that home was outside Canada.
Calgary-specific context
Do not count FHSA money toward Calgary closing until account and withdrawal eligibility are confirmed.
What to do next
Use current CRA rules and the issuer or accountant to verify residency, prior-home and spouse facts.
Verify before relying
Official sources for this topic
These sources explain the rules and records relevant to this topic. Check the current requirements for your property.
Check the current information at the linked source. Ask the appropriate professional how it applies to your property.
Important
Real estate rules, market conditions, property records, taxes, financing terms, bylaws, and physical conditions can change. Verify time-sensitive and property-specific facts with current official sources and the appropriate qualified professional before acting.