Well, as WY Renegade said, there isn't much chance of it having beneficial bacteria since it didn't have any food source. Worse, the sandbed has probably gone anoxic and it would take a LOT of rinsing for it to be useable in another tank. You'd be better off just getting some new sand and seeding it with some other established sand.
CJ