The more important aspect is preventing local police from having to act as immigration agents. That has a very real effect on crime: illegal immigrants don't have to be afraid of talking to police. I think we're safer when everyone feels free to report crimes and act as witnesses.
I agree with your message about safety, but it is important to keep in mind that illegal immigrants are inherently breaking the law. We should not encourage keeping them safe from deportation.
There's a long debate to be had about immigration in general. I'd contend, though, that it's in the public interest to look past things like immigration status in certain situations. For example, suppose we're vaccinating against an epidemic. In that case, you definitely don't want anyone to be afraid to come out and get their shot for any reason.
SF doesn't keep illegal immigrants safe from deportation. It says "in these circumstances, we think it's more important that you cooperate with the city than it is for us to try to deport you, so we're going to call a temporary truce".
While your comment sounds like it makes sense at face value, I find it naive and simplistic. I think the logical outcome of a policy like that is that you end up worse off.
We all unwittingly break many laws day. Living in the US is inherently illegal, even if you happen to be a citizen. My point is that there isn't some binary division between people that break the law and those that don't.
If businesses need to be immigration police, they'll just hire illegal immigrants under the table (moreso), and be more exploitive about it.
If people are afraid to talk to the police, they won't. This breeds gangs & protection rackets, which presumably you don't want, because they increase crime.
As these problems will become worse and worse, the more we will try to crack down on illegal immigration, intensifying said problems. The tragic irony is that the solution is the cause of the problem and it is part of a nasty feedback loop.
> Living in the US is inherently illegal, even if you happen to be a citizen
I am guessing you are implying that the White Europeans "stole" America from the Native Americans. By that notion, you can keep going a few 100 years back in history and you'll eventually end up with "Living in the ___ is inherently illegal, even if you happen to be a citizen" for every place in this earth except that place in Africa where the human is supposed to have evolved and migrated.
This is a total straw man. Illegal immigrants pay their taxes. The IRS doesn't care about their immigration status, but they do care about getting paid.