Bail Act 2000, ss 30A-30S
In some cases, you can apply to the court to be released on bail with an “electronic monitoring” condition. You’ll have to wear an electronic ankle bracelet and stay at a particular address. You won’t be allowed to leave that address except for approved reasons like going to court or seeing a doctor.
You can only get EM bail if:
the court has already remanded you in custody (which is where your case is put off for a time and you’re held in police cells or prison), and
you’re likely to be on bail for at least 14 days.