I`m not sure,but I think you can`t! Because Spain is not a little place to say that you`re moving out of it,it`s a country! In short,in my opinion,it`s impossible!
You can certainly say, "They are moving out of Spain." The fact that the construction would usually apply to, say, an apartment or a neighborhood only gives it a particular flavor. This is not a decision of grammar but of poetics. If, however, you don't want any flavor to your words, if, for example, you are writing a formal business letter and seek only bland correctness, you would say, "The