If you do, consider that you will be paying off your spouse with tax free dollars while inheriting the entire capital gain issue downstream (i.e. only 250K exclusion instead of 500K). The best advice I would give you is to get a professional appraisal done to set the value. Specifically, I would get an appriaser who specializes in divorce related appraisals. I would recommend Jerry Longwell out of La Mesa. This is all he does and you can Google him to get his number.
The value will likely be lower than what you think which isto your benefit. Most of the Family Law Attorney’s in SD know and use him so you should not have a problem getting your spouse’s attorney to accept him.