I have recently heard the first sentence
Where did you think I was all this time? in a movie but my intuition as a non native speaker tells me that present perfect would suit better this case because "...I was all this time..." sounds like a indefinite time with connection to the present...
So my choice if I were to say something like this would be something like
Where did you think I have been all this time?
Is the second option wrong or Do they convey different meanings?
Thank you in advance :)