Well, being out of status, but applied for restoration during Restoration Period it's not illegal.andy108 said:I would guess that staying illegally in a country may well invalidate application or mean a guaranteed refusal on it.
Just if restoration is rejected and applicant don't leave the country on time after that, will be illegal to stay.
newcecapplicant: you shouldn't leave the country until get status restoration answer, I guess you can do it but it's better wait until get a response.
Anyways, you can apply/get PR while out of the country, so if your application is solid but you have to leave Canada , communicating it to CIC, perhaps it doesn't affects I our chances to get PR.
As general suggestion, always hope for the best and be ready for the worst.
Good luck.