distance from what? Going to need a bit more info to be able to help ya.
I think I know what you mean.
is there any maximum distance you can run wire without a junction box.
in the US, nope. As long as you have not exceeded the total amount of bend allowable in the conduit, it is limited by how long your wire is.