Surely relocating your life is such a big move that you can plan for it ahead of time and get a degree? It doesn't have to be from a good, expensive university, as long as it's recognized.
And I think for software engineers with experience getting a degree in CS while not trivial is doable, especially if you're not hoping for high grades.