I've slept in the darkness, it was lonely, and it was silent
The state he was in when he was having the dream of earth. This is why he is asking “could this be light” as all he knows is darkness. Darkness could also be a metaphor for ignorance, meaning he is being enlightened and gaining wisdom.
To help improve the meaning of these lyrics, visit “White” by Frank Ocean Lyrics and leave a comment on the lyrics box