It depends on whether the position you are applying for is shortage list, and whether the HR department get their arses into gear and do it properly.
Of course, your application will have delays as it can't be lodged until you have left the UK, and once it is approved you will have to apply for entry clearance.
Vicky