If I delete my photos from my iphone, will they still be in icloud?

The question's pretty self explanatory.

I want to clear space on my iPhone by deleting pictures but I want to be able to save them somewhere where I can view them another time. Is this possible?

They will no longer be on your i phone. Once you delete them they are gone.

ICloud does more than one thing. It can make a backup copy of your items (up to 5gb) and it can also share your photos on another iDevice if you choose. Check your settings and make sure photos under iCloud is turned on. Make a current iCloud backup. Only then delete the photos. They are now stored.
You will have to have Control Panel installed on your laptop to be able to view virtually.
http://support.apple.com/.../kb/dl1455
Best luck.