you may slaughter: Because an animal’s blood was considered holy (see Genesis 9:4–6), meat for eating had to be slaughtered at the central place of worship whenever possible (compare Leviticus 17:8–9).
If it was not possible to go to the central location, the animal could be sacrificed locally. Even then, the blood had to be handled and disposed of in a way that followed God’s instructions (Deuteronomy 12:23–25; compare Leviticus 17:10–12).