HelloCustomerand welcome back to JustAnswer.
The New Mexico statute which addresses prison behavior credits is New Mexico Revised statutes section 33-2-34, which you can see in its entirety at:
To be certain of the credits for which he might be eligible, it would be necessary to know the exact code section of the commitment offense. Note section 33-2-34, subsections A(1) and A(2), which establish the basic behavior credit rules:33-2-34. Eligibility for earned meritorious deductions.
A. To earn meritorious deductions, a prisoner confined in a correctional facility designated by the corrections department must be an active participant in programs recommended for the prisoner by the classification supervisor and approved by the warden or the warden's designee. Meritorious deductions shall not exceed the following amounts:
(1) for a prisoner confined for committing a serious violent offense, up to a maximum of four days per month of time served;
(2) for a prisoner confined for committing a nonviolent offense, up to a maximum of thirty days per month of time served ....
Thus, if his commitment offense is characterized as a "serious, violent offense", the possible credit is 4 days per month served (in other words, he would have to do roughly 85% of the sentence).
If his commitment defense is a "nonviolent offense", the possible credit is 30 days per month served (in other words, he would do roughly one-half of his sentence).
"Serious, violent offenses" are defined in section 33-2-34, subsection L(4). For example, if his commitment offense "aggravated assault
against a household member" is actually a violation of New Mexico code section 30-3-16, aggravated battery
against a household member, then his commitment offense is a "serious, violent offense" and he is eligible for only four days credit for every 30 days served. This would mean that he would get credit for 34 days for every 30 days actually served. To complete a two year sentence, then, he would have to do 21 and a half months actual time.
Of course, he will have to be an "active participant" in "approved programs" to be eligible for any behavior credits. Also, there other credits available, as outlined in the rest of section 33-2-34, which your friend may be able to earn.
He will, of course, be entitled to credit against his prison sentence for the time he spent in local jail custody before being convicted and sentenced to prison.
If you can tell me what the exact commitment offense code section was, I can verify which behavior credits apply.