happylalalpo is generally right but I know of an exception. The HDB flat can be sold to/bought over from your ex-spouse if there is a court order.