The play the way you described it is legal on all levels. Until the ball is possessed inbounds there will not be a 10 second count.
Under NCAA women's, which you asked about, there is not a 10 second backcourt count. However, there can be a 5 second closely guarded count while holding the ball in the backcourt.
|