To claim repairs/maintenance as an expense, the work must relate to damage done while you were renting out the place. There is a logic to this - otherwise people would buy burnt out hovels and claim the cost of fixing them up as an expense.
Even if you rent a place out first, you still can't...