When you sell a home, you'll need to pay taxes on the amount of money you earned on the sale as capital gains. However, if you live in the home for two of the previous five years before selling, you ...