I did something similar when I relocated. I made plans with the company to be remote for the first month, though I was coming into the office on odd weeks. They understood I'd be out for a day or two here and there as I tried to find a new residence. That allowed time to find housing and move the family and I didn't have to terminate my lease until I already had a new house lined up.