A study has found women who consumed caffeinated coffee in midlife are more likely to exhibit healthy aging.