Deductions & credits

What if you rent it for one month and decide to sell it?  Is it still considered passive income/loss?