Depreciation on rental property question

I have a house with 2 apartments upstairs that I rent out regularly.  However, if I do not rent the apartments for one year, can I still depreciate them or claim any repairs I might make or do I just ignore them for that year and pick up again next time they are rented?  If I don't rent them I won't have any income from the apartments.