Dual boot up with Windows and Ubuntu

I would like to have a dual boot on my PC. Currently, I have Windows XP in Drive C. There are 2 other partitions that I have, Drive D and Drive E. Will I be able to install Ubuntu on Drive D? Will it prompt later to which drive to boot after I am done?
