Being a non-citizen poses a number of different issues in the event you are charged with a crime. This is true whether you are here legally or illegally. It also is true whether you are an immigrant or a non-immigrant. Lawful permanent residents, people with so-called green cards, also have a different set of rules that are applied to them as well. The main difference is that the penalties are much tougher. In fact, a conviction can often lead to deportation.
There are a number of crimes that are specifically listed as deportable. There are also those that are delineated as a crime of moral turpitude or an aggravated felony that can result in deportation. Generally, once convicted, you would have to serve your sentence and then you would be deported immediately thereafter.
However, if you are convicted of a crime that is not deportable or you are not convicted at all, then you may actually qualify to Expeal your record. For an immigrant, a non-immigrant worker, or even a non-immigrant that may want to be an immigrant in the future, expunging or sealing your record will be incredibly important.
While it is very important to note that you are never allowed to hide the fact you have been arrested from USCIS or the Department of Homeland Security, you will have the same exact benefits that citizens who Expeal their criminal records will have. That means you will have better job opportunities, more housing options, as well as a better chance to attend an American university.
There is no better way to integrate into American society than by having every opportunity possible. Make sure you find out if you qualify and you go through with the free process as soon as possible.