Applied for permanent residence but my passport is about to expire

I have applied for express entry from within Canada, but my passport expires in 5 month, and the new passport will take around 1 year to be renewed, can I receive the pr with an expired passport if I apply from within Canada?