That is something which is decided in the team, a good defence always has one defender to attack the ball/player, while the other defender has to drop deep and cover just in case the ball gets past.
Please note i'm not taking anything away from Barzagli who attacks the player well!