Those who are on visa or who are perm residents, are told NOT to do these things: driving under influence, misdemeanor/felony convictions, getting arrested, any issues that fall under "moral turpitude". Immigration authorities have a lot of discretionary power because of many vague terms in these laws.