We do deport illegal migrants. 

But if a person makes a claim to Convention refugee status that must first be determined in accordance with our laws and if determined to be a refugee then the principle of non-refoulemont applies (not forcing refugees to return to a country in which they are liable to be subjected to persecution) and they must be offered protection by Canada unless they fall under one of the excluded classes, war criminals, crimes against humanity, etc.