Under Ukraine 's constitution , the Tymoshenko government is automatically required to resign , although it can stay on as a caretaker until a new government is appointed .