If my boss finds out I'm looking for a different job does he have the right to fire me?

If my boss finds out I'm looking for a different job does he have the right to fire me?
Post Opinion