There is as such no time limit for retaining of application money by the Company.
The company can make allotment at any time but keeping of share application money for a long time may cause the Income Tax Department to raise queries during assessment.