That if any person residing and intending to continue to reside in this state and who is a person with a disability or prohibited from contracting marriage under the laws of this state, shall go into another state or country and there contract a marriage prohibited and declared void by the laws of this state, such marriage shall be null and void for all purposes in this state with the same effect as though such prohibited marriage had been entered into in this state.
750 ILCS 5/216