A Clinton Township man will spend at least 40 years in prison for shooting and killing his girlfriend in front of their child, officials said.