when does Indesign create a div during the ePub Export? Does this have anything to do with grouping objects?
The best way to tell is to crack open an EPUB file and take a look.
Here's are a couple good resources to learn about EPUB:
Retrieving data ...