No, the iPhone does not alert you when someone checks your location. However, others can only see your location if you have explicitly shared it with them through apps like Find My or Messages.