The length of time that a home can be vacant and still remain insured varies from insurer to insurer. Some companies may allow the house to be vacant for up to 60 days, but many restrict the period to just 30 days.
Because policies vary, you should talk to your insurer so that you know exactly how long your home can be empty without jeopardizing your coverage.