While not quite a legal requirement, at the last company I worked for the timesheet was described as something like: If we don't give the government timesheets, they don't pay us our salaries.
The one before that said the timesheets were used to do reporting for R&D grants from the government.