Dear @safi05,
Welcome to the Wefugees Community and thank you for reaching out to us.
It is not easy to give a tailored answer on a quite complex issue without knowing too many details. However, we discussed the topic of independent residence permits for Ex-spouses of EU-citizens before on this platform. Please see, for instance, this thread for more information. Since you already hired a lawyer, it is always the best option to address your specific questions to him/her also. He/she will know your individual situation better.
In any case, please also don't hesitate to get back to us if you want to discuss your situation more.
All the best,
Meike