You must have a valid study permit when you submit your application if you wish to work in Canada while your application is being processed.
Your study permit generally expires 90 days after the end of your program, even if the expiration date listed on the document is later.