If you plead guilty to the top charge (and it sounds like you did), the Judge has control over the sentence so it is possible ..... your lawyer needs to make a very good argument at sentencing, hopefully backed up by letters showing that you did well in rehab and are doing well at the halfway house. If you plead to something less than the top charge the DA would have to approve.
I am a former federal and State prosecutor and have been doing criminal defense work for over 16 years. I was named to the Super Lawyers list as one of the top attorneys in New York for 2012 and 2013. No more than 5 percent of the lawyers in the state are selected by Super Lawyers. Martindale-Hubbell has given me its highest rating - AV Preeminent - in the areas of Criminal Law, Personal Injury, and Litigation. According to Martindale-Hubbell”AV Preeminent is a significant rating accomplishment - a testament to the fact that a lawyer's peers rank him or her at the highest level of professional excellence." Fewer than 8% of attorneys achieve an AV Preeminent rating. I also have the highest ranking – “superb” – on Avvo. Feel free to check out my web site and contact me. The above answer, and any follow up comments or emails is for informational purposes only and not meant as legal advice.
Of course discuss this option with your attorney and as stated above it might be beneficial to ask the judge. It is hard to say how it will go, but since you were convicted of larceny, rehab may not make a difference with one judge where it will with another.
If this answer was helpful please click that block. Answers in the forum are only general and it is always best to contact a criminal defense lawyer to discuss your case. We handle NY, NJ and all Federal Court cases. Bukh Law Firm P.C., 14 Wall Street, New York NY 10005, (212) 729-1632. www.nyccriminallawyer.com