According to Writer’s Digest, “the two main legal areas you need to worry about when writing about real people—defamation of character and invasion of privacy—only apply to living people.” Survivors cannot sue on another’s behalf for either issue, so if the person you’re writing about is deceased, you’re in the clear, at least in the United States.