Thanks for your reply.
Peoples only get residence card stamps in their passport if they are married to an EEA national, so I can't see that this is what you have if you were not married at the time unless a fraudulent application for a residence card was sent by your solicitor
Persons are entitled to a retention of treaty rights if prior to the initiation of the divorce proceedings, the marriage has lasted for at least three years including one year in the UK so you would not appear to satisfy this criteria because you were not married for three years
In this event you would not have leave to remain in the country. Having said that if you have a residence card valid for 5 years then this should be sufficient for your employer. It may be that they do not know what they are looking for.
I would go and see a local solicitor to examine the stamp in your passport to tell you definitively what rights of residence this gives you. I can't say defninitavely without having it in my hands. If they confirm that it gives you a right of residence for 5 years then you can ask them to write a letter to this effect to your employer.
If it does not then you need to speak to them about making an application for leave to remain in the UK on the basis that your child is a UK citizen and therefore the article 8 rights of family and private life apply to you, the child and the child's father.
If this has been useful please kindly click accept so that I may be rewarded for my time. If you do not click accept your money stays with the site and I do not receive any credit for the time I have taken to answer your question.
I will answer your follow up questions you may have.