Upon the death of any married person not domiciled in this state who dies leaving a valid will disposing of real property in this state which is not the community property of the decedent and the surviving spouse, the surviving spouse has the same right to elect to take a portion of or interest in such property against the will of the decedent as though the property was situated in the decedent's domicile at death.
Idaho Code § 15-2-209