The key word here is illegal. Technically, if your friend is illegal, he could be deported. I live in Houston and the Harris County Sheriff's department participated in the 287 (g) program, which allowed deputies to question inmates about their immigration status, and act in the role of immigration officers. In Harris County, deputies were trained and supervised directly by ICE, even though they worked for the Sheriff's Department. If an inmate is here illegally, an immigration hold can be placed on them at the county jail. Depending on the outcome of their case, they could ultimately be released to the immigration detention center. A person could seek an immigration bond once they were transferred to the detention center, but this is an issue best addressed by an immigration attorney. That being said, I have noticed fewer holds being placed on low level non violent offenders. The reason? Budget cuts and a lack of support by the current administration. The 287 (g) budget was cut for next year by 27%. ICE was apparently told to throttle back on non violent offenders, but again, this is best discussed with an immigration lawyer. You need to have your attorney show up to court first thing Monday morning to request a "reasonable bond". If the judge denies bail or sets it too high, take it up on appeal. I hope some of this information helps.
My answer is based upon the limited amount of information available at the time of writing.I am a Texas DWI Lawyer. If possible, hire an attorney who is a member of the National College of DUI Defense, who is familiar with your jurisdiction.
He may be eligible for an ICE bond. You need to also consult with an immigration lawyer to discuss possible defenses for his removal proceedings. The key here is to move fast to contact an immigration lawyer.
ASk for a bond and then ICE may have already lodged a detainer in which case you would be given a court date for immigration court and would be either released by ICE on recognizance or pay a bond but depends where you are as certainly although 287 (g) is being done away with it still gets reported to ICE in other ways. Depending on how long your friend has been here and his relatives he may qualify for other relief.