Although normally even if you are considered a flight risk you often just have to turn in your passport and wait for your trial at home, IIRC