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:
Property subject to capital gain or loss treatment. Almost all assets you own are considered capital assets except for certain business assets or works you created.