real case of my room mate:
1. Finished studies in Aug 2019
2. Applied for PGWP in Nov 2019
3. Refused end of Jan 2020
4. Applied for restoration and PGWP in April 2020
5. Got approved in May 2020
If the study permit has expired, then it is usually 90 days time you get to apply for restoration...