What is regarded as a "domicile" for determining residency classification?

Domicile is a person's existing and intended fixed, permanent, and principal place of residence.