Do you really want all that garage air, including car exhaust, to have a chance to come into your bedroom every time you open the door? I think the common areas would be better from that point of view. More doors getting opened and closed to create air exchanges. Personally, I prefer a detached garage to create some separation.