Deductions & credits

I'm not sure what you are reading that, but that is incorrect.

Only your MAIN Home qualifies for the $250,000/$500,000 exclusion.  Second homes do not qualify, and therefore it must be reported if there is a gain, and the gain is subject to income tax.