Where a person has been made a defendant as an unknown person, or where the name of a defendant is unknown, or where the summons has been served upon a defendant without the state or by publication, and he has not appeared in the action, the court shall direct his portion to be paid into court and invested in permanent securities at interest, for his benefit, until claimed by him or his legal representatives.
N.Y. Real Prop. Acts. Law § 970