"Could we all sleep here tonight?"
Translation:Könnten wir heute Abend alle hier schlafen?
Although some flexibility in word ordering is possible to allow for certain elements to be stressed, there is a certain ordering that is most natural-sounding to native speakers. As learners, we would like eventually to pick up on such nuances. The German sentence structure article on Wikipedia gives us some guidance in this regard. Here is a quick summary:
After subject-verb or Wichtigstes-verb-subject, we have: Wem (dative object) | Wann | Warum | Wie | Wo | Wen (accusative object) | Wohin/Woher | Verb nochmal. (If either or both the accusative and dative objects are expressed using pronouns, they go to the top of this ordering.)
So, we see in our exercise: heute Abend (Wann) | alle (Wie) | hier (Wo)