Investors & landlords

It's a fairly simple test (for your purposes) since the non-qualified use is any period during which the property is not being used as your principal residence. However, temporary absences are generally allowed (not counted).