Can we claim $500K tax break if renting to tenants?

Couple learns tax implications of selling primary home, rental