There are a few factors here.
Firstly, can your ex-husband retain the flat alone. If he is below 35 and he has no custody of any child, or he has no siblings or parents to retain the flat, HDB will not allow retaintion of flat. Flat must be sold or surrendered.
secondly, you must act...