Are you a PR or a Canadian citizen? PR's must remain in Canada while sponsoring, so if you are, I would not risk leaving for more than a couple weeks at most. If you are a citizen, you can be anywhere in the world and sponsor, but you may end up having to prove you intend to reside in Canada once your wife gets PR. A couple months is not a problem.