What type of visa would she hope to rely on to come back to the UK?
Workers visa, Student visa, etc.
The difficulty is that an overstay is general grounds for refusal under the Immigrations Rules for all applications except those based upon a relationship (eg.marriage, civil partnership, long-term co-habiting relationship to a UK/EEA national or other person with indefinite leave to remain in the UK. An application made on the basis of a relationship could not be rejected by virtue of the overstay alone.
Given the current immigration policy of the day it is highly likely that your friends application for a visa under any other category would be rejected due the overstay I'm afraid, a 'number of years' is quite long and therefore serious.
There is also a cap on workers visas applications which has been reached and no further applications are being entertained until further notice.
Unfortunately, it's going to be very difficult for your friend to return unless there were exceptional and provable circumstances which mean that they had no option but to overstay.
I'm very sorry it could not be better news. If this is useful please kindly click accept so that I may be rewarded for my time. You will be free to ask follow up questions.
DISCLAIMER: Answers from Experts on JustAnswer are not substitutes for the advice of an attorney. JustAnswer is a public forum and questions and responses are not private or confidential or protected by the attorney-client privilege. The Expert above is not your attorney, and the response above is not legal advice. You should not read this response to propose specific action or address specific circumstances, but only to give you a sense of general principles of law that might affect the situation you describe. Application of these general principles to particular circumstances must be done by a lawyer who has spoken with you in confidence, learned all relevant information, and explored various options. Before acting on these general principles, you should hire a lawyer licensed to practice law in the jurisdiction to which your question pertains.
The responses above are from individual Experts, not JustAnswer. The site and services are provided “as is”. To view the verified credential of an Expert, click on the “Verified” symbol in the Expert’s profile. This site is not for emergency questions which should be directed immediately by telephone or in-person to qualified professionals. Please carefully read the Terms of Service (last updated February 8, 2012).