Have to copy my own answer from Movies & TV Stackexchange
Christopher Markus answered it to Fandango:
Fandango: The Snap did bring back a lot of our favorite characters. Loki, is he kicking around somewhere? And what about Vision?
Christopher Markus: No, I mean we only brought back the people who were effectively disintegrated by the Snap at the end of Infinity War. Anybody who died over the course of the movie through neck-snapping or stabbing or being thrown off a cliff or having a Mind Stone torn out of their head stayed dead.
But Russo and Anthony contradict it, from Business Insider:
Clark: At the end, when Cap brings the stones back in time, does he correct all the timelines that got screwed up? Is there a past Loki
still out there?
Joe: The intent was that he was going to correct the past timelines at the point that the stones left.
Loki, when he teleports away with the Time Stone, would create his own
timeline. It gets very complicated, but it would be impossible for
[Cap] to rectify the timeline unless he found Loki. The minute that
Loki does something as dramatic as take the Space Stone, he creates a
Anthony: We're dealing with this idea of multiverses and branched realities, so there are many realities.
But I will probably go with Russo as Loki is going to appear in his own TV series soon on Disney+ but we need to wait and watch.