I would occupy it for a minimum of 2 years. This way if you do put it as a rental you have 3 years to test the rental waters to see if its a good fit for you. If it isn't you can sell the property and keep a good chunk (if not all) the equity in the property tax free. As long as you have occupied a property for "2 of the previous 5 years" up to $250,000 for a single owner and $500,000 for a couple is exempt from capital gains taxes.