This helpful guide to residence and domicile lays out the rules as they affect individuals, and why they matter.