Expect rural universities in general to be safer. On the other hand, an urban environment may give more opportunities to gain valuable life experience.
Also expect some surprises.
For example, the campus of the University of Southern California, located in a rather poor area
of South Central Los Angeles, has in recent years has often offered a safer environment than
the campus of the University of California at Los Angeles across town. Yet, UCLA adjoins Bel-Air, one of the wealthiest neighbourhoods
in the world.
That's not true at the moment, though.
seek an urban learning experience in Canada or the U.S., you must
decide the level of personal safety risk that you wish