It's a yes-and-no situation. If your car garbage bag contains a lid, any odors will be trapped at least partially. However, it is not recommended to store anything extremely odorous inside your car garbage bag. Empty bottles and cans, snack wrappers, and food packaging are the only things they're suitable for.