Actually not true.
You will probably be able to claim a "reduced exclusion". For info on what that is, search the old posts in this forum, I gave a lengthy explanation not too long ago.
A divorce is considered one of the allowable circumstances for claiming a reduced exclusion. You will be able to exclude gain based on the number of months you lived in and owned the house, as a proration on the total exclusion amount of $250,000 per individual/$500,000 per married couple.
Snipes