CPU's aren't used to store data, VGA is only used to connect to a monitor, and 1GB and 4GB (yes, those are written in capitals, Gb is different from GB and gb and gB don't exist) is RAM, not storage.
So, although your post only contains riddles in stead of a clearly described situation, the answer to whatever you mean most likely is NO.
But you can use a home network to store data from your laptop on the hard disk of your desktop even if that runs without monitor, although it might be better to use an external hard disk or a USB-stick if the 200 GB (or whatever disk space it has) of your laptop is full. And surely it's better to clean the hard disk of your laptop and use only that.
First of all my Monitor broken and i got laptop. my concern is.. when i connect my laptop to my cpu via VGA.. it is possible that i can make my cpu as my main storage not the laptop?. cause my laptop only 1gb while 4gb my computer..