Daytime or at night? The latter should present no difficulty. You can easily move the hive temporarily, or screen it. Not exactly a beekeeping question really. How close would you stand if the bonfire is a raging furnace; would you stand upwind, or choke in the smoke and/or fumes downwind? There could be a brick wall between whilst still being close. So lots of common sense cosiderations to be taken 'on the ground'.
To answer the question literally, I could stand next to it, or even on it! Would not be good for the bees though. This sounds more like a question from someone with a hive and a close neighbour building a bonfire close to a beehive. Seems like there may be animosity, but just guessing. If it is indeed the case, we have the classic example of poor siting of a beehive.
Regards, RAB