Whenever you buy shares and decide to hold it for a week, a month, or years together then shares bought are deposited in Demat account in dematerialised form, as Demat account holds shares and securities in electronic custody.
If you don’t have Demat account with broker, then the above is not valid for you, and you will not be able to take delivery of the shares.