Is it illegal to have an emulator? No, I have a gba emulator on my laptop :) You can use them for development too.
Is it legal to 'have a rom for 24hrs then delete it'? I have never seen any legislation saying that this is an acceptable practice. Besides, I've heard it said about EVERYTHING...