The average lifespan was shorter in all of Britain in the two years to 2023 - with children born in deprived areas expected to die up to 13 years earlier.