Yes, it would be considered cheating in live chess. You are not allowed to receive any advice during a game.
No, it would not be considered cheating, in correspondence chess, since the video is in no way responding to your particular situation, like a computer chess engine would.
Say you're in the midst of a queens gambit accepted game (for example) and your opponent makes a common mistake you saw on youtube (b5 to protect the c4 pawn). The problem is, you can't remember exactly how to take advantage of it. Is it ok to pull up the video for a refresher? Is it any different if it's a correspondence game?