Hey @Nobel i think we both are in same situation. that's extremely complicated and I don't think any solicitor will give you proper advice.. below are my case details..
Married in Mar 2014, thing stop working last year and we both decide to go for divorce. so before going for divorce i was wondering what else options I have. I work in IT, discussed this matter with my HR and ask him to apply for work permit. HR was fine to apply and discussed this with our corporate Legal Immigration advisers. First they said it's unusual, complicated, after they give 3 options to HR..
1. Get Divorce and apply retention EU5.
2. Divorce inform EU treaty, we will send latter to EU treaty mentioning instead of applying retention we are going to apply work permit so grant you month temp visa so in that time period we will recv your work permit for sure.
3. Get Divorce, inform the EU treaty, leave the country and we will apply for work permit (My company refuse this option, as they need me).
so eventually I need divorce in every scenario so it's in process and will recv decree of divorce hopefully next month..
I went to some other famous solicitor and pay 175.00 euros for half an hour meeting and she wasn't sure as well. so completely waste of money and time.
conclusion: from last 6 years I'm working in IT in 2 different companies.. my current firm is happy to support me for work permit, but I'm not sure can I apply or not. so nobody knows what we can or can't..
so now whatever we will do that will be Risk an Experiment.. keep in touch bro.