I knocked together a quick 3D rendering of what that building in my dream looked like, from my point of view:
The recessed areas between the timbers were the little bays where we were each assigned a bedding space. The door is just visible, as are the windows. There is also a stairway (only hinted at here) to the upper levels which I presume contained a similar sort of arrangements. There were few walls and no bars, shackles, or restraints of any kind so if it was a jail, it was a very low-security affair. The thought that this was a debtor’s prison seems very likely. It might also have been tenements or even barracks (perhaps billets from my revolutionary war life, if I’m wrong about the date?).
There were a number of us in the place, it was dark so I couldn’t see much of the others but I think we were in pretty ragged shape. The people next to me and the men entering the door in long button-up coats all wore styles suggestive of the late 17th or early 18th century.
This was so vivid in my dream I was able to remember it well enough to make a model the next day. I really feel strongly that this is a past life memory.