In mythology, yes. But in an Abrahamic religion like Christianity, time, math and logic and the laws of this universe all came out of the mind of God who exists outside of them.