Having finished the work, he went home.
As you can see, there is no context available in that sentence. So, the above sentence could mean:
- Because he had finished the work, he went home. Or,
- After he had finished the work, he went home.
So, I guess you do need a context to unambiguously understand what the above sentence, and other sentences like that one, means. Am I right?