Work plays an active role in keeping the brain healthy and retaining cognitive abilities as we age, researchers report.