Yes, but the bigger differences in terms of battery consumption, comes from the use of the phone. The ROM may be responsible for, let's say, 20% of the differences.
And 5 days is reachable with any ROM I think.
And sometimes apps like tasker, Llama, Greenify... can save you a lot of battery...