It is not necessary to have a depository account for applying shares through Rights Issue/IPO. The investor can apply shares in physical form also, however for your convenience and in order to eliminate the risks to investors on account of fake/forged certificates, bad deliveries, delays in transfer etc., settlement of all trades in securities of company making an IPO has to be in demat form only.