It depends on the goals of the partnership between industry and your school.  If the goal is purely the deliverable then they shouldn't even care if you are working from home at 2 in the morning.  If the goal of this endevor is to offer you an emulation of what it's like to work in the industry then whatever rules govern the behavior of the employees should also govern your own.