Section 11. No marriage shall be contracted in this commonwealth by a party residing and intending to continue to reside in another jurisdiction if such marriage would be void if contracted in such other jurisdiction, and every marriage contracted in this commonwealth in violation hereof shall be null and void.