As long as the submit button is still within the form and is set to the input type 'submit', yes it will still work the same.
From a usability point of view though, most people would expect the submit button at the bottom but I guess it depends on the layout and content of the page.
And do you use a reset button with your submit button? personally I hate reset buttons - I only ever click on them by mistake - and then they erase all my data. grr! That's useability