The word without form and void could be interpreted in many ways but for us to answer this question, we first must look at the very first phrase of Genesis 1:1 which says "In the beginning God created the heavens and the earth. Now the earth was formless and empty, darkness was over the surface of the deep, and the Spirit of God was hovering over the waters." We could easily conclude here that when God first created the heavens and the earth, the earth had nothing in it, likely desolate without any form of shape. After these, God began to design and mold His creation to perfection. This is typical of an artist who would first draw a sketch of what he intends to draw or paint and then build on that initial rough looking picture to a finished product.