If Jurisdiction A considers X to be illegal, and Bob (a member of A) goes to jurisdiction B and commits X (B considers it legal), and goes back to A, is A still at liberty to prosecute Bob committing X?
In particular, I want the answer with the different jurisdictions being US states (like California and Texas), and X can be any of the laws that different states disagree on (age of consent, abortion, weed, sex work, etc.).
Edit: PLEASE NOTE: I'm not asking about the case where the jursidictions are different nations. I'm asking particularly about the case when the jurisdictions are within the same nation (the USA in particularly). This can be different states, or different districts, etc.. I know there are a lot of answer on here about the international case, but I couldn't find any answer for the case between different jurisdictions both contained in the USA. This includes the question linked that considers mine to be a duplicate.