in the UK, perhaps elsewhere) an alternative to prison is sometimes to have an electronic "tag" (a bit like a wristwatch) strapped to your ankle. conditions are placed upon you such that you need to be within certain places (usually between certain times) where there are sensors that respond to your tag.
a civil libertarian's delight ...
EDIT: Probably wrong about this, see Will's post below