can i deduct refinance closing cost (via depreciation) on a rental if it wasn't a rental when i refinanced it

It was my primary home at the time i refinanced, I rented it a few years later. Can i deduct those refi closing costs now? if so, how to enter this in TT