Working out

Is it good to work out in the morning for weight loss? I want to start doing 40 minutes in the morning and then 30 minutes on my elliptical at night. I was doing 70 minutes all at once but now i have to let my brother in laws dog out at night so that doesn’t really fit my schedule anymore