Thank you for your question and patience, I’m Tom and I’ll try to help you.
If divorced proceedings were issued then you would have to apply for “Retained Rights of Residence. This is available in certain circumstances to non-EEA spouses who are in the UK under a residence card.
Please refer to “Retained rights of residence” on the following link for confirmation:
You will see that your circumstances appear to qualify you for this, although divorce proceedings have not yet been issued so you would not be able to apply for this until they are.
If and when divorce commences then you would have to apply in the way described. Your residence card will be re-issued to you on a retained rights basis. This would mean that you can remain in the UK independently from your spouse.
It would also mean that once you reach 5 years in the UK you can apply for permanent residence which is the right to stay in the UK permanently without applying for any further residence cards or making any further applications.
My goal is to provide you with a good service. If you feel you have received anything less, please reply back as I am happy to address follow-up issues specifically relating to your question.