The ants who want to share the candy delight you left on the table could be coming from anywhere, up to 100 feet away. You should bait inside, but don't neglect outside. It's where ants spend the majority of their time. It just seems like they are homebound. Ants are not bees, even though they are related.
Bees make wonderful wax structures to store golden honey, yum.
Ants do not store much solid food at all, and they have NO capacity to store liquids. To effectively bait ants, you need to make an effort to rinse soda cans and clean counters to eliminate things that compete with the bait. Also, because they are only going to be able to take a certain amount, follow label directions and don't over-bait.