If the puck crosses both lines and the red line next to the goal because a player on the team that was originally on defense and a player on the other team gains possession of the puck first then the puck gets put down at the side of the ice where it started. So pretty much only if the other team gets it first.
replydetachattach picture