Retirement tax questions

Does the information you posted, which indicates a 0% rate for my husband and I also apply to a secondary home, which is our situation, or just when selling our primary home?