Depends on what you mean by PR. If you mean the COPR/visa stamp, that has to be done in 30 days. If you mean the physical act of arriving in Canada, that has to be done before your medical or your passport expires, whichever is earlier. If you mean the PR card, that currently takes about 84 days from the day you apply.