Deductions & credits

The time owned doesn't matter.  And some expenses you add to the cost basis of your house when you sell.  So you might need to keep track of them.