Its a pretty common scenario. As long both those two different networks are talking to each other, there is no problem.
You just have to run following CLI command using putty on the AP which will be residing in THAT different network. IP address below in the command is controller's IP address. We are literally asking the AP to contact the controller on THAT ip. this is being done as AP may have to jump L3 boundaries and this activity helps.