As people think about living longer, a New York Times writer reflects on the recent death of her husband and what helps life go on.