A former Alabama college student has been sentenced to life in prison in the shooting death of a beloved classmate.