How long should the state keep your DNA?

If an individual is arrested, and DNA is collected — but prosecutors do not immediately file charges — how long should the government be able to hold on to the DNA sample?