Sentencing 18-, 19- and 20-year-olds to serve a life term without the possibility of parole violates the prohibition against cruel or unusual punishment and is unconstitutional, the Supreme Judicial Court held Thursday in a 4-3 ruling that overrules the state Legislature.