A player has to reestablish themselves back in the field of play (not in the end zone including the the line) by either getting two feet back in the field of play or contact the field of play with some body part other than the hand or foot.
In your scenario, if he does not do either of the above, the play is a touchback.