Setting goals post-retirement may help protect against cognitive decline, according to a study comparing women who disengaged from careers with those that continued to work.