According to the management system of the school, the dormitory has access control time, that is, basically you must return to the dormitory before 12, so you are not allowed to spend the night outside. Unless it is a special case, you can leave the school after asking for leave from the counselor. But in fact, different schools have different situations. Although ordinary undergraduate colleges have access control, they do not arrange sleep check. In this case, if you don't stay at night, you won't be found, so you can spend the night outside. But the police academy or some schools with strict management need to count the number of people every night. If you don't come home that night, you may violate the school rules and even be punished.
But from the psychological and physiological age of college students, college students are basically adults, able to control their own behavior and be responsible for their own behavior. It is harmless to spend the night outside, provided that it is safe, does not violate the school rules, and will not have adverse effects on yourself because of spending the night outside.