Residency is where one chooses to live. Domicile is more permanent and is essentially somebody's home base. Once you move into a home and take steps to establish your domicile in one state, that state becomes your tax home.