Welcome to the forum, Kreacher.
I am afraid there is no simple answer to your question.
The problem is that both the progressive form and perfect forms can suggest some form of duration. Some verbs, such as LIVE, also have within their meaning the idea of duration.
So, there are times when both non-progressive and progressive forms are possible, with little practical difference in meaning.
Some course books and elementary grammars can sometimes give the impression that only one form is possible in any give situation. This is not true.