It depends on the circumstances. For example, before the arrival of mandatory minimums....
For example, take the production of marijuana with a mandatory minimum of six months. Oftentimes, new immigrants or people who come to the country without many resources will take the first housing opportunity they can get. Especially in the Asian community, we had elders who took up housing in overpopulated houses where there weren't sufficient rooms. Essentially, they were live-in tenants for the landlord to then go about the production of things they had nothing to do with. It was nothing that they knew about or were part of, but they were there so they were charged. The minimum is six months. That's deportation.
Then take into consideration perhaps the other people they care for. Let's say you have a young single mother who is facing deportation. They have to leave the country. What about their young child who is in the country? Maybe they are Canadian-born and maybe they are not. Do they leave the child with social services or with family members? Do they take the child with them?
Those are considerations that extend beyond the criminal sphere, so to speak, and into the livelihoods of the offender, those they take care of and those around them.