Can you track an iPhone when it is turned off?

Some say the phone needs to be turned on for the signal to be active, but others say as long as the Sim card is in the phone, it can be tracked even if it is not turned on.