Bail; in what cases; conditions of bond

N.Y. Criminal Procedure Law § 570.38, under Securing Attendance of Defendants Who Are Outside the State But Within the United States--rendition to Other Jurisdictions of Defendants Within the State--uniform Criminal Extradition Act.

N.Y. Criminal Procedure Law § 570.38

§ 570.38 Bail; in what cases; conditions of bond.\n Unless the offense with which the prisoner is charged is shown to be\nan offense punishable by death or life imprisonment under the laws of\nthe state in which it was committed, a justice of the supreme court or\ncounty judge in this state may admit the person arrested to bail by bond\nor undertaking, with sufficient sureties, and in such sum as he deems\nproper, conditioned for his appearance before him at a time specified in\nsuch bond or undertaking but not later than thirty days after the\nexamination referred to in section 570.36 and for his surrender, to be\narrested upon the warrant of the governor of this state.\n