Thanks for your question. I will try to help.
There is no requirement that you are in the UK. You can be in the UK or outside of it, but your wife would have to make the application from Pakistan obviously.
Provided you hold the funds I have referred to in my previous post you should meet the financial requirements in order for her to get a spouse visa.
If ideally you would wish to enter the UK at the same time then this is not a problem. You can simply stay with your wife whilst she applies for her spouse visa, though you would probably not be able to travel to the UK whilst the visa application is going through.
Alternatively, you can travel to the UK alone with a view to buying a property and your wife can apply herself from Pakistan.
The most important suggestion I can give you is that you instruct a Uk based solicitor now with a view to them preparing your wife’s application when the time comes. The application is one of the more complicated ones and there is a considerable evidential burden and the way the information is laid out on the .gov website is not that transparent.
My goal is to provide you with a good service. If you feel you have received anything less, please reply back. Please remember to leave positive feedback using the stars at the top of the page.