Necrophilia is considered defiling to the body, and is therefore illegal.