If you are using the second home as a rental property, then condo fees can be considered a rental expense based on the time the property was used as a rental.
If the second home is used only for personal purposes, condo fees are a personal expense and are not deducted on your tax return.