I don't think that will be a problem. I have been working on my dissertation in a different state for about two years. One thing you need to make sure is that you need to have all legal documents, e.g., reduced enrollment, to keep your I-20 stutus current and legal.