It depends on whether you qualify for the home sale exclusion. This exclusion lets you omit from gross income up to $250,000 of gain ($500,000 on a joint return), but only if you meet certain conditions:
A sale of property that allows for tax deferment if at least one payment is received after the end of the tax year in which the sale occurs. The installment method does not apply to year-end sales of publicly traded securities. Dealers may not use the installment method. Investors with very large installment balances could face a special tax.