Many countries saw drops in life expectancy during the pandemic, but some populations have suffered more than others.