Yes people who have no right to be in the country are sent to detention centers until they can be deported. That's how it works in every country, not just the US.