She has to live in Canada
If you were already married and she did not update IRCC during the process of her PR , she may not be able to sponsor you
If this was done properly, then she needs to live in Canada and sponsor you - First apply for your PR - After AOR, apply for the work permit...