He was indeed sentenced to life, but was inexplicably allowed to go in and out of prison during his sentence - on one occasion he was paroled for thirty days under dubious circumstances. He was eventually released on parole 4 years ago for "good behavior", and is now trying to rehabilitate his public image (along with his extremely corrupt father).
https://en.m.wikipedia.org/wiki/Murder_of_Jessica_Lal