Is it 2 separate HDs or 1 HD with 2 partitions on it? If it's the latter,
Yes, just make sure you click on the Macintosh HD partition when you erase it. That will just erase the the Macintosh HD partition. If you click on the full HD it will erase the entire HD.