Indeed. And note that these laws are generally state laws in the US, not federal. So just in the US, there's a lot of possible versions of the law/jurisdiction Facebook could face.
I didn't think if that, the jurisdiction would be where the person died, so potentially anywhere in the world with an extradition treaty could charge them.