If your friend is arrested for drinking in public he risks being taken into custody; but, assuming he's not on probation, it is quite likely that he would be released to his parents or allowed to post bond in advance of trial.