most likely.
Immigration will do a background check on you. The canadian govt has got many treaties with other countries to check the status of foreigners who've been in and out in other countries.
However, if you are filing an application in Canada and your status expires before cic makes a decision, then you are still allowed to stay in Canada after your permit expires, until you receive a decision from CIC.