A 35-year-old man convicted of murdering two men one in Pomona and the other in Altadena just over a month later was sentenced Wednesday to life in prison without the possibility of parole for what a judge said appeared to be "surprise ambushes" of his friends.