No, no, no, Contrex!! lol!!
I always keep something that
I can eat in my pocket when I am on a long journey.
This is implying that you'll be eating something in your pocket! lol
I always keep something in my pocket that I can eat when I am on a long journey.
This is correct! You have something in your pocket that you can eat - perfect!