O son of Kunti, the fate of a creature after death depends upon his acts in this world. As regards your question as to where the treasure of the acts of the wise and the ignorant remains,
जन्तोः प्रेतस्य कौन्तेय गतिः स्वैरिह कर्मभिः। प्राज्ञस्य हीनबुद्धेश्च कर्मकोशः क्व तिष्ठति॥