The answer
It can. CRA rules look at ownership, beneficial ownership, occupancy, spouse or common-law partner facts, Canadian residency, family-unit limits and program-specific periods. Joint ownership can qualify for principal-residence purposes, but each person's eligibility and eventual reporting must be tested; equal title does not guarantee equal tax treatment.
Calgary-specific context
Rental use, one non-occupying owner, prior homes and later relationship changes can materially alter the analysis.
What to do next
Prepare each person's dated ownership, occupancy, relationship and program history for qualified tax review before using benefits or allocating sale proceeds.
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
This is general information, not legal advice. Speak with a qualified lawyer about your specific situation.