Deductions & credits

No, it must have been your personal main residence.   While you won’t have depreciation issues of it was just a second family home and not rented, you will still owe capital gains tax.