Does deleting an apple ID account on one device delete it on all others?

Basically I had an IPhone 4, but I've now upgraded to an iPhone 5. I'm giving my sister the iPhone 4 for her birthday.
Currently both devices have the same Apple ID and same iCloud account etc. I want to delete the apple ID on the iPhone 4, so that my sister can change it to hers, so that when she buys things, it doesn't come out my bank account! Lol.
I just want to know that if I click on 'delete account' in settings>iCloud it won't delete it off the iPhone 5 too, and I will lose everything including everything in iCloud.
I don't want to delete the account, just delete it off the iPhone 4.
What do I need to do? Thanks

Added (1). Oh, I don't know how to just log out on the iPhone 4, it won't let me? Okay then though, thanks

Why do you need to delete your account for her iPhone? Why not just log out of the account on her phone? That way you can still keep your iCould stuff. But anyway, if you delete your account, you'll lose iCloud, but not your apps already on a device.

Yes, you can delete from the phone, and it will still be there on the other device.