If you quickly press L1 + R1 and then Triangle when you get called for a Goaltending foul you will get the ball back.