When is it okay to speak badly about the Dead?

A friend of mine used to be a funeral director. She would occasionally regale us with tales of horrendous speeches given at funerals, generally by children of the deceased.