Unless you have the Internet on the plane the person on the a/c won't be able to send their location ans I think the GPS has to be disabled on the phone while in flight.
If you want to track an aircraft use flightradar it's an app plus a website where you can track aircraft pretty much everywhere in real time. I use it for when I pick friends up from the airport to see if they are delayed and when to leave my house!