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:
Two or more persons who have undivided ownership rights in property. Upon death of a tenant, his or her share passes to his or her estate, rather than to the surviving tenants.