The UK immigration rules and EEA residency regulations (based on EU treaties) are totally and completely separate and they are NOT related at all.
In fcat any time spent as a family member of the EEA is
NOT counted as lawful stay in the UK as per UK immigration rules for grant of ILR under long residence at all (EEA based residency is NOT mentioned under paragraph 267A at all). The long residence guide however allows the case worker to exercise discretion and count any time spent as family member of EEA person as lawful residence
ONLY AND ONLY if your EEA partner was exercising treaty rights. Grant of ILR under long residence will then be discretionary and is made OUTSIDE the UK immigration rules.
Long residence guide:
https://assets.publishing.service.gov.u ... 6.0ext.pdf
You should also know that EEA citizens and their family members are NOT subject to immigration control in the UK. That means when you married the EEA national, you were
NO LONGER subject to immigration control. Application for EEA residence card is simply a confirmation of your status and it is not some form of leave or visa (in fact it is optional to get a card). The whole idea or concept of
'EEA leave' you are entertaining is therefore meaningless.
The trouble here is that the moment you got divorced from your EEA spouse, you were no longer family member of an EEA and given that you had no right of retained residence in the UK under EEA regulations, you were again subject to UK immigration control from that point. I remind you that the application for confirmation of retained right of residence was simply an attempt to get a confirmation of such status and it was NOT some sort of application for leave/visa in the UK.
As you did not have retained right of residence in the UK, you were in the UK unlawfully from the date of your divorce until you managed to secure your spouse visa. This means you had a gap in your lawful residence in the UK, so you did not have 10 years of continuous lawful residence required for grant of ILR under long residence.
Advice is given based on my personal research and experience only. Do NOT contact me via private message for immigration advice