Presumably, they volunteered for zombiehood before dying naturally. Otherwise, it's destruction of property, vandalism, theft and desecration of a corpse if they're taken from a graveyard, murder and desecration of a corpse if they're not volunteers.