So after countless hours I finally bred an Abra with 6 perfect IVs and Magic Guard. I'm still kind of new at this, but when I trade to evolve it into Alakazam, will I then have to trade it back to get my perfect IVs?
The IVs you have remain on your Abra it's entire life.
IVs don't change when you evolve, like shininess and evolution and all those game mechanics. So don't worry.
Hope I helped. :)