If the refinance was done as owner occupied, most loan programs require you just occupy the home for the first 12 months of the mortgage in order to satisfy the occupancy requirement. After the 12 months is up you are free to move out of the home without violating that requirement.
Feel free to contact me if you have further questions and I'll be happy to answer them.
Shane Milne | Lending in all 50 states | NMLS #81195
firstname.lastname@example.org | 949-273-4161 direct