I have always thought the domicile is in the state - the organic state. And the residence is in the district - the state district is a fictional overlay with the same surveyed boundaries.
Dr. Dale LIVINGSTON, Esquire confirmed that the Judiciary Act of 1789 formed the Districts.