You can't do this. When you declare a variable in the inner scope, it shadows the outer scope's variable and the language doesn't provide any way to access it like it does for global variables.
Even if it did support this however, it would still be bad practice to name your variables the same. Imagine having to handle a large number of scopes and the complexity that would be required!
Simply use different variable names for intermediate variables, it makes both writing and maintaining the code easier.