A domiciliary of this state who marries a person employed temporarily in this state in the service of the United States government, may elect to retain his or her domicile for the purpose of qualifying as an elector only, except that his or her domicile in this state shall terminate if the domiciliary qualifies as an elector in any other state or any territory.
Ca. Elec. Code § 2030