Mother sentenced to life in prison for death of son