No. You can continue to deduct expenses if you are actively looking for tenants.
Vacant rental property. If
you hold property for rental purposes, you may be able to deduct your ordinary
and necessary expenses (including depreciation) for managing, conserving, or
maintaining the property while the property is vacant. However, you cannot
deduct any loss of rental income for the period the property is vacant.
IRS Pub 527