A player in an offside position receiving the ball from an opponent who deliberately plays the ball, including by deliberate handball, is not considered to have gained an advantage, unless it was a deliberate save by any opponent.
A ‘save’ is when a player stops, or attempts to stop, a ball which is going into or very close to the goal with any part of the body except the hands/arms (unless the goalkeeper within the penalty area).