It means people who share a situation or experience (often a negative one). For example, if a group of people are all stranded because a bus broke down and one passenger complains because he will miss an important appointment, someone might say 'Well? We're all in the same boat' meaning it is causing everyone some inconvenience.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.