As per the law in India, a person is allowed to file a bail application at any stage when the court proceedings are pending. As per the Code, the police authorities are obligated to present an arrested person before the magistrate within 48 hours of his arrest. A person can get a bail bond before the case has been finalized.