A Stockton man will spend the rest of his life behind bars after pleading guilty in a deadly 2024 trailer fire.