Is the word "effect" used in the same way in the following two sentences?

The new law will come into effect on the first day of next year.

The law is still in effect.
the same meaning