Once you are arrested and booked, you will face a judge for your arraignment in the next 24 to 48 hours. This is the period of time that the district attorney has to file charges against you. If no charges are filed, your attorney can file a writ of habeas corpus and have you released. Chances are, this will not happen. You will appear before a judge, the charges will be read, and assuming you plead not guilty, there will then be the issue of bail.