The hotel reception may ask for a valid physical ID if there is any doubt about your age and/or that of your companion at the time of check-in, in accordance with local laws.
For your information, you must be of legal age to book a room. Please also note that in the United States, the minimum age to book a room is typically 21 years old.