Advanced dementia patients may briefly regain memory months before they dieLucidity episodes in dementia patients can occur more than six months before death.