Every deposit made in this state by an insurer pursuant to this title, including assets and securities held in another state under custodial arrangements, shall be held as long as there is outstanding any liability of the insurer as to which the deposit was so required; or if a deposit required under the retaliatory law, §§ 58-6-70 to 58-6-73, inclusive, the deposit shall be held for so long as the basis of such retaliation exists.
SDCL 58-7-33