Work to Welfare: Family, life course and labour market detachment