Normally, no. Every state has their own laws, and it's your job to be familiar with the laws if you're in law enforcement. It may be easier to become a detective in another state if you've already worked as a detective somewhere else, but I it won't be automatic.