How did your names read on the title?
John and Jane.
John or Jane.
The middle word is critical. If "or" then it was legal.
Either way, if you feel that you should receive compensation from the sale you can address that in court and have it included in your divorce decree.