have you lived in UK for more than 6 months ?
it does not have to be consecutive: lived 2months then left and came back few years later . lived for another 4 months
Then you lived for 6 months. you need a police certificate.
Who needs a police certificate?
In general, you and all the people in your family who are 18 or older need to get a police certificate. You must get one from each country or territory where you have spent six or more months since the age of 18. For example:
if you visited, worked or lived in a country for two months, left for a few years, then returned for four months, that counts as spending six months there. In this case, you would need a certificate.
For the country you currently live in, the police certificate must be issued no more than six months before you apply.
For countries where you have lived for six months or more, the police certificate must be issued after the last time you lived in that country.
If your certificate is in a language other than English or French, send it when you apply, along with the original copy of a translation done by a certified translator.
you need a police certificate from pakistan too as you currently live there.