The capital gains exclusion on home sales only applies if it's your primary residence. In order to exclude gains on sale, you would have to sell your current primary home, make your vacation home your primary home and live there for at least 2 years prior to selling.