How long can someone stay locked up?

Permanent lockup is a thing but I would start with a few days and wouldn’t recommend going more than a month. I’ve got some more information on the topic here.