Capital Gains Exemption

I purchased and sold a home within a 1 year and 10 month span. Normally this would require I pay capital gains tax but I purchased the house with my ex husband and the reason for selling is that we got divorced. From what I've read I can file a capital gains exemption, how do I do this when using turbotax to do my own taxes. If I need to hire someone I will but would prefer to do them myself.