What are the possible immigration consequences of a conviction?
One thing you have to realize upon signing a plea bargain agreement that it has the same effect as a jury finding you guilty in a trial. Hence it goes on your record. If the crime you allegedly committed is one of moral turpitude, and you plead guilty to it, the guilty record might interfere with your citizenship application afterwards, or with your receiving a green card, or, if it is a deportable offense, you might be even sent out of the country. You have to weigh your options very carefully.