I do not think there are any time limit you have to live in UK before applying for a provisional license as long as you're a UK residence. Although it is stated that 3 years of address details is required and I suppose that could be any address 1 had lived. Below are info fund relating to this matter.
To get your first provisional driving licence online for a car, motorcycle or moped you need to:
be a resident of Great Britain
meet the minimum age requirement
meet the minimum eyesight requirement
not be prevented from driving for any reason
pay £50 by MasterCard, Visa, Electron, Maestro or Delta debit or credit card
have a valid UK passport or other form of identity
have your National Insurance number if known
provide addresses where you’ve lived for the last 3 years
You can apply up to 3 months before you can start driving. You can normally start driving on your 17th birthday if you want to drive a car and your 16th birthday if you want to drive a motorcycle or moped.
If you’re getting the higher rate of the mobility component of Disability Living Allowance (DLA) you can drive at 16
This info is directly from:
https://www.gov.uk/apply-first-provisio ... s-to-apply