A man who killed his ex-girlfriend and abandoned her baby on the side of a West Valley road in 2018 received a life sentence.