Can you edit a video in 720 and export in 4k?

Regardless of what I choose will export be the same?