Basically yes, although it is not part of the language definition and should not be relied on. It's just an implementation artifact of CPython, and not only that but the threshold of which integers are cached changes for different Python versions.
A bit more subtle than that- Java reserves singleton instances of Integer for values in the range -128 to 127. In these cases, the Integers will contain the same value and refer to the same object, so == works. It's not actually undefined behavior.
Integer a = new Integer(10);
Integer b = new Integer(10);
Integer c = new Integer(1000);
Integer d = new Integer(1000);
a==b is true
c==d is false