If you are going through a divorce, you can sell the flat after the requisite minimum occupation period has been fulfilled and you meet all eligibility conditions for resale. You will need to produce specific documents such as the Interim Judgment and Certificate of Making Interim Judgment Final, or the Divorce Certificate (for Muslims), and any Court Order if applicable.
Best of luck with your sale!