Section 28. If a married person comes from another state or country into the commonwealth, that married person shall have all the rights, powers and obligations given to married persons by this chapter.