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 at least 18 years old to book a room. Please also note that in the United States, hotels typically require guests to be at least 21 years old.