They don't mean exactly the same thing.
There are several words and phrases that mean a moment or a very short period of time. Some of these are predominantly British, but among them are 'jiffy', 'mo' (short for 'moment') and 'tick' (like a tick of the clock, a second). Some of these are hyperbole, of course. Saying you "won't be a jiffy" means you will be so fast it won't even be that length of time. These are things you might say if you think the amount of time is negligible, barely noticeable.
Saying you won't be "long" is less hyperbolic. If you won't be a long period of time then you must only intend to be a short period of time. This is something you would more likely say when you expect to be some time, but it will not be excessive.