I don't think it works that way. Federal immigration law looks to see if you are married. If two women marry in NY or NH, they are married for federal purposes and therefore for immigration. DOMA's overturn was precisely about the Feds not having to make their own definition here or average things out.
What if they were married in another country with legal SSM, and neither party lives in, has ever lived in, or intends to live in one of the 12 states with legal SSM? The federal government recognizes their marriage for the purpose of allowing immigration, but the immigration is to Texas where SSM is not legal?
That's a good question. Given the contortions these couples go through, I fully expect they'd settle in an equality state just to avoid this problem--they are by nature more mobile people.
I expect a couple married in France which is transferred to Texas for work will have their marriage recognized by the Feds because it is legal in France and there is no obvious conflict with federal law (as there is with polygamy).